const TOKEN = 'token';
export const getToken = ()=>{
    return localStorage.getItem(TOKEN);
}
export const setToken = (token)=>{
    return localStorage.setItem(TOKEN,token);
}
export const removeToken = ()=>{
    return localStorage.removeItem(TOKEN);
}
const REFRESH_TOKEN = 'refreshToken';
export const getRefreshToken = ()=>{
    return localStorage.getItem(REFRESH_TOKEN);
}
export const setRefreshToken = (refreshToken)=>{
    return localStorage.setItem(REFRESH_TOKEN,refreshToken);
}
export const removeRefreshToken = ()=>{
    return localStorage.removeItem(REFRESH_TOKEN);
}